package com.nwpu.coursesupport.mapper;

import java.util.List;

import com.nwpu.coursesupport.criteria.AssistantCourseSearchCriteria;
import com.nwpu.coursesupport.entity.Assistant;
import com.nwpu.coursesupport.entity.AssistantCourse;
import com.nwpu.coursesupport.entity.Course;
import com.nwpu.coursesupport.service.param.IDListParam;
import com.nwpu.coursesupport.view.CourseView;

public interface AssistantCourseMapper extends BaseMapper<AssistantCourse>{
	
	public boolean batchDelete(IDListParam p);
	
	public List<Course> getCouseByAssistantId(int id);
	public List<CourseView> getCouseViewByAssistantId(AssistantCourseSearchCriteria sc);
	
	public List<Assistant> getAssistantByCourseId(int id);
	
	public List<Assistant> searchAssistantByCourseId(AssistantCourseSearchCriteria sc);
}